package match.chuanchao.dto;

import java.util.ArrayList;
import java.util.List;

public class OrderGuanSaiRenInfo {
    // 默认值与JSON保持一致
    private String discountCode = "";
    private String discountCodeEventIds = "";
    private String discountCodeRuleId = "";
    private boolean isOptimumDiscount = true;
    private String orderDiscountEventIds = "";
    private String orderDiscountId = "";
    private String orderDiscountRuleId = "";
    private String paymentDiscountId = "-1";
    private boolean quickTrade = true;
    private String thirdDiscountId = null;
    private String thirdDiscountRuleId = null;
    private int useDeductionMoney = 0;
    private int useDeductionPoint = 0;
    private String useGiftCardId = "";
    private int useGiftCardMoney = 0;
    private String promoCode = "";
    private int useGegMemberShip = 2;
    private String galaxyCustomerLevelId = null;
    private RenderConfigParam renderConfigParam = new RenderConfigParam(); // 初始化内部对象
    private boolean isNewUI = true;
    private List<CheckGoods> checkGoods = new ArrayList<>();
    private String token = null;
    private int langType = 1;

    // Getter和Setter方法
    public String getDiscountCode() {
        return discountCode;
    }

    public void setDiscountCode(String discountCode) {
        this.discountCode = discountCode;
    }

    public String getDiscountCodeEventIds() {
        return discountCodeEventIds;
    }

    public void setDiscountCodeEventIds(String discountCodeEventIds) {
        this.discountCodeEventIds = discountCodeEventIds;
    }

    public String getDiscountCodeRuleId() {
        return discountCodeRuleId;
    }

    public void setDiscountCodeRuleId(String discountCodeRuleId) {
        this.discountCodeRuleId = discountCodeRuleId;
    }

    public boolean isOptimumDiscount() {
        return isOptimumDiscount;
    }

    public void setOptimumDiscount(boolean optimumDiscount) {
        isOptimumDiscount = optimumDiscount;
    }

    public String getOrderDiscountEventIds() {
        return orderDiscountEventIds;
    }

    public void setOrderDiscountEventIds(String orderDiscountEventIds) {
        this.orderDiscountEventIds = orderDiscountEventIds;
    }

    public String getOrderDiscountId() {
        return orderDiscountId;
    }

    public void setOrderDiscountId(String orderDiscountId) {
        this.orderDiscountId = orderDiscountId;
    }

    public String getOrderDiscountRuleId() {
        return orderDiscountRuleId;
    }

    public void setOrderDiscountRuleId(String orderDiscountRuleId) {
        this.orderDiscountRuleId = orderDiscountRuleId;
    }

    public String getPaymentDiscountId() {
        return paymentDiscountId;
    }

    public void setPaymentDiscountId(String paymentDiscountId) {
        this.paymentDiscountId = paymentDiscountId;
    }

    public boolean isQuickTrade() {
        return quickTrade;
    }

    public void setQuickTrade(boolean quickTrade) {
        this.quickTrade = quickTrade;
    }

    public String getThirdDiscountId() {
        return thirdDiscountId;
    }

    public void setThirdDiscountId(String thirdDiscountId) {
        this.thirdDiscountId = thirdDiscountId;
    }

    public String getThirdDiscountRuleId() {
        return thirdDiscountRuleId;
    }

    public void setThirdDiscountRuleId(String thirdDiscountRuleId) {
        this.thirdDiscountRuleId = thirdDiscountRuleId;
    }

    public int getUseDeductionMoney() {
        return useDeductionMoney;
    }

    public void setUseDeductionMoney(int useDeductionMoney) {
        this.useDeductionMoney = useDeductionMoney;
    }

    public int getUseDeductionPoint() {
        return useDeductionPoint;
    }

    public void setUseDeductionPoint(int useDeductionPoint) {
        this.useDeductionPoint = useDeductionPoint;
    }

    public String getUseGiftCardId() {
        return useGiftCardId;
    }

    public void setUseGiftCardId(String useGiftCardId) {
        this.useGiftCardId = useGiftCardId;
    }

    public int getUseGiftCardMoney() {
        return useGiftCardMoney;
    }

    public void setUseGiftCardMoney(int useGiftCardMoney) {
        this.useGiftCardMoney = useGiftCardMoney;
    }

    public String getPromoCode() {
        return promoCode;
    }

    public void setPromoCode(String promoCode) {
        this.promoCode = promoCode;
    }

    public int getUseGegMemberShip() {
        return useGegMemberShip;
    }

    public void setUseGegMemberShip(int useGegMemberShip) {
        this.useGegMemberShip = useGegMemberShip;
    }

    public String getGalaxyCustomerLevelId() {
        return galaxyCustomerLevelId;
    }

    public void setGalaxyCustomerLevelId(String galaxyCustomerLevelId) {
        this.galaxyCustomerLevelId = galaxyCustomerLevelId;
    }

    public RenderConfigParam getRenderConfigParam() {
        return renderConfigParam;
    }

    public void setRenderConfigParam(RenderConfigParam renderConfigParam) {
        this.renderConfigParam = renderConfigParam;
    }

    public boolean isNewUI() {
        return isNewUI;
    }

    public void setNewUI(boolean newUI) {
        isNewUI = newUI;
    }

    public List<CheckGoods> getCheckGoods() {
        return checkGoods;
    }

    public void setCheckGoods(List<CheckGoods> checkGoods) {
        this.checkGoods = checkGoods;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public int getLangType() {
        return langType;
    }

    public void setLangType(int langType) {
        this.langType = langType;
    }

    // 内部类：RenderConfigParam
    public static class RenderConfigParam {
        private boolean phoneDesensitize = true;
        private boolean emailDesensitize = true;
        private boolean credential = true;
        private boolean distribution = true;
        private int distributionPage = 1;
        private int distributionPageSize = 20;

        public boolean isPhoneDesensitize() {
            return phoneDesensitize;
        }

        public void setPhoneDesensitize(boolean phoneDesensitize) {
            this.phoneDesensitize = phoneDesensitize;
        }

        public boolean isEmailDesensitize() {
            return emailDesensitize;
        }

        public void setEmailDesensitize(boolean emailDesensitize) {
            this.emailDesensitize = emailDesensitize;
        }

        public boolean isCredential() {
            return credential;
        }

        public void setCredential(boolean credential) {
            this.credential = credential;
        }

        public boolean isDistribution() {
            return distribution;
        }

        public void setDistribution(boolean distribution) {
            this.distribution = distribution;
        }

        public int getDistributionPage() {
            return distributionPage;
        }

        public void setDistributionPage(int distributionPage) {
            this.distributionPage = distributionPage;
        }

        public int getDistributionPageSize() {
            return distributionPageSize;
        }

        public void setDistributionPageSize(int distributionPageSize) {
            this.distributionPageSize = distributionPageSize;
        }
    }

    // 内部类：CheckGoods
    public static class CheckGoods {
        private String eventId;

        public String getEventId() {
            return eventId;
        }

        public void setEventId(String eventId) {
            this.eventId = eventId;
        }
    }
}